package com.dhsc.view.dao.impl.jyjk.zxyc;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.dhsc.domain.jkzx.zxjh.YcjkyzVo;
import com.dhsc.domain.jkzx.zxjh.ZhgVo;
import com.dhsc.view.dao.jyjk.zxyc.IZhgDao;

/**
 * @author HP
 * @date 2023/9/11 10:12
 */
@Repository("zhgdao")
public class IZhgDaoImpl implements IZhgDao {

	@Autowired
	private SqlSessionTemplate viewSqlSessionTemplate;

    @Override
    public List<ZhgVo> selectZzhgInfo(ZhgVo z) {
        return viewSqlSessionTemplate.selectList("TZhgjkMapper.selectZzhgInfo", z);
    }

    @Override
    public List<ZhgVo> queryzhgjkmx(ZhgVo z) {
        return viewSqlSessionTemplate.selectList("TZhgjkMapper.queryzhgjkmx", z);
    }

    @Override
    public List<ZhgVo> queryzhgydjkmx(ZhgVo z) {
        return viewSqlSessionTemplate.selectList("TZhgjkMapper.queryzhgydjkmx", z);
    }

    @Override
    public List<YcjkyzVo> queryfzxx() {
        return viewSqlSessionTemplate.selectList("TZhgjkMapper.queryfzxx");
    }
}
